import { configureStore } from "@reduxjs/toolkit";
import userSlice from "./modules/userSlice";

//当前我使用了哪些子模块
const store = configureStore({
    // 合并多个Slice
  reducer: {
    userSlice: userSlice,
  },
});
// 暴露实例对象
export default store;